#ifndef PREFERENCESDIALOG_H
#define PREFERENCESDIALOG_H

#include <QtGui>
#include "colorsquare.h"

class PreferencesDialog : public QDialog
{
    Q_OBJECT

    QColor textColor;
    QColor backColor;
    int startAt;
    bool drawBack;
    bool showCount;

    ColorSquare *textSquare;
    ColorSquare *backSquare;

public:
    explicit PreferencesDialog(QWidget *parent = 0);

    void loadPreferences();


signals:

public slots:
    void textColorPick();
    void backColorPick();
    void setStartAt(bool val){ startAt = val; }
    void setDrawBack(bool val){ drawBack = val; }
    void setShowCount(bool val){ showCount = val; }
    void savePreferences();
};

#endif // PREFERENCESDIALOG_H
